package kpi.javatraining6.gnatiuk.tests;

import kpi.javatraining6.gnatiuk.src.teachingsystem.TopicCombiner;
import kpi.javatraining6.gnatiuk.src.tester.Questionnaire;
import org.junit.Before;
import org.junit.Test;

import java.util.Map;

import static org.junit.Assert.*;

public class TopicCombinerTest {

    TopicCombiner topicCombiner;

    @Before
    public void setUp() {
        topicCombiner = new TopicCombiner();
    }

    @Test
    public void testGetQuestionnaires() throws Exception {
        Map<String, Questionnaire> rezMap = topicCombiner.getQuestionnaires();
        assertTrue(rezMap.size() > 0);
    }
}
